function [u]=truncwidth(width,x)
x=x';
[row,col]=size(x);
u=[];
for i=1:width:row*col+1-width
    temp=[];
    for j=0:width-1
     temp=[temp x(i+j)] ;   
    end
    u=[u; temp];
end




